/*
 * Created on 16/03/2010
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.stefanini.pe.bbva.mbl.in.bo.iface;

import java.util.List;

import com.stefanini.pe.bbva.mbl.carga.in.to.PermisosXPerfil;
import com.stefanini.pe.bbva.mbl.in.dao.iface.PermisosXPerfilDAO;

/**
 * @author jlezama
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public interface PermisosXPerfilBO {
	/**
	 * @return Returns the permisosXPerfilDAO.
	 */
	public abstract PermisosXPerfilDAO getPermisosXPerfilDAO();

	/**
	 * @param permisosXPerfilDAO The permisosXPerfilDAO to set.
	 */
	public abstract void setPermisosXPerfilDAO(
			PermisosXPerfilDAO permisosXPerfilDAO);

	/**
	 * @param key
	 * @return
	 */
	public abstract int deleteByPrimaryKey(String codPermiso, String desPermiso);

	/**
	 * @param record
	 */
	public abstract void insert(PermisosXPerfil record);

	/**
	 * @param record
	 */
	public abstract void insertSelective(PermisosXPerfil record);

	/**
	 * @param key
	 * @return
	 */
	public abstract PermisosXPerfil selectByPrimaryKey(String codPermiso, String desPermiso);
	
	public abstract List selectByCriteria(String desPermiso);
	
	public abstract List selectAll();
	
	public abstract int selectSequence();

	/**
	 * @param record
	 * @return
	 */
	public abstract int updateByPrimaryKey(PermisosXPerfil record);

	/**
	 * @param record
	 * @return
	 */
	public abstract int updateByPrimaryKeySelective(PermisosXPerfil record);
}